<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注销</title>
    <style>
        body {
            background: url('../images/vmbg2.png') center/cover no-repeat fixed; /* 使用背景图像 */
            font-family: Arial, sans-serif;
            font-size: 14px;
        }

        .container {
            max-width: 500px;
            margin: 0 auto;
            text-align: center;
            padding: 50px;
            background-color: #fff;
            border-radius: 6px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        }

        .logo {
            margin-bottom: 30px;
        }

        h1 {
            font-size: 24px;
            margin-bottom: 20px;
        }

        p {
            margin-bottom: 30px;
        }

        .button {
            display: inline-block;
            background-color: #007bff;
            color: #fff;
            text-decoration: none;
            padding: 10px 20px;
            border-radius: 4px;
            transition: background-color 0.3s ease;
        }

        .button:hover {
            background-color: #0056b3;
        }
    </style>
</head>
<body>
<div class="container">
    <h1>您确定要退出吗？</h1>
    <p>点击下方按钮，退出系统。</p>
    <a class="button" onclick="exit()">退出账户</a>
</div>
</body>
<script>
    function exit() {
        alert("退出成功")
        localStorage.clear();
        top.location.href="login.html";
    }
</script>
</html>
